package com.jacky.javafx.service;


import com.jacky.javafx.AppUserRepository;
import com.jacky.javafx.entities.AppUserEntity;
import com.jacky.javafx.entities.AppUserViewModel;
import org.springframework.data.domain.Page;

import java.util.Optional;

public interface AppUserService {

    Page<AppUserViewModel> findByPage(int pageSize, int currentPage, String sortStr);

    Optional<AppUserEntity> findById(Long id);
}
